import{Zn as e,b as t,er as n,g as r,k as i,mt as a,xt as o}from"./CIxmKYxc4tZcJF.js";import{n as s}from"./DDCtipxfV6SuM.js";import{h as c}from"./BhoLY8NaRMpjn.js";var l=i({__name:`oui-div-x`,props:{gap:{type:[Boolean,Number,String],default:void 0},center:Boolean},setup(i){let c=i,l=r(()=>{if(c.gap===!0||c.gap===``)return`1rem`;if(typeof c.gap==`number`||String(+(c.gap??-1))===c.gap)return s(+c.gap);if(typeof c.gap==`string`)return c.gap});return(r,s)=>(a(),t(`div`,{class:e([`oui-div-x`,{_center:i.center}]),style:n(l.value?{gap:l.value}:void 0)},[o(r.$slots,`default`)],6))}});function u(){let e=c().meta.stackAdmin;if(!e)throw Error(`stack-admin: context missing - use stackAdmin() to build the route`);return e}export{l as n,u as t};